package com.zytlifeservice.util;


import com.sun.org.apache.xerces.internal.impl.dv.util.Base64;

import java.io.UnsupportedEncodingException;

/**
 * Created by Administrator on 2017/6/14.
 */

public class Base64Utils {
    // 解密
//    public static String getFromBase64(String str) {
//        String result = "";
//        if (str != null) {
//            try {
//                result = new String(Base64.decode(str), "utf-8");
//            } catch (UnsupportedEncodingException e) {
//                e.printStackTrace();
//            }
//        }
//        return result;
//    }
}
